package com.ctshk.rpc.booking.req.outside.admission.save;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 站外门票预订信息
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
@Data


@ApiModel(value="SupplierOutsideOrderAdmissionTicketReq对象", description="站外门票预订信息")
public class SupplierOutsideOrderAdmissionTicketReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "项目名称")
    private String name;

    @ApiModelProperty(value = "项目需求描述")
    private String description;

    @ApiModelProperty(value = "门票日期（年月日）")
    private LocalDate ticketDate;

    @ApiModelProperty(value = "单价")
    private BigDecimal singlePrice;

    @ApiModelProperty(value = "单位")
    private Integer unit;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "小计")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "成人数")
    private Integer adultNum;

    @ApiModelProperty(value = "小童数")
    private Integer childNum;

    @ApiModelProperty(value = "婴儿")
    private Integer babyNum;

    @ApiModelProperty(value = "导领数量")
    private Integer guiderNum;

    @ApiModelProperty(value = "共计人数")
    private Integer totalPeople;

    @ApiModelProperty(value = "说明")
    private String remark;

    @Valid
    @NotEmpty(message = "门票旅客列表不能为空")
    @ApiModelProperty(value = "门票旅客列表")
    private List<SupplierOutsideOrderAdmissionTicketTouristReq> supplierOutsideOrderAdmissionTicketTouristReqList;


}
